//
//  SuperTableViewController.h
//  KIASupervisory
//
//  Created by tan_xin on 14-7-4.
//  Copyright (c) 2014年 MyCompany. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UserInfo.h"
#import "MBProgressHUD.h"
#import "NetworkManager.h"

@interface SuperTableViewController : UITableViewController <MBProgressHUDDelegate>

@property (nonatomic, strong) UIButton *leftBtn;
@property (nonatomic, strong) UIButton *rightBtn;
@property (nonatomic, assign) BOOL showLeftBtn;
@property (nonatomic, assign) BOOL showRightBtn;

@property (nonatomic, strong) NetworkManager *networkManager;
@property (nonatomic, strong) MBProgressHUD *HUD;

@property (nonatomic, strong) UIToolbar *keyboardBar;
@property (nonatomic, strong) UIAlertView *alertView;

- (void)initHUD;
- (void)dismissKeyBoard;

- (void)showAlertViewWithMessage:(NSString *)msg;
- (void)performDismissAlert;

//添加键盘监听事件
- (void)addKeyboardNotificationForTarget:(id)observer;

- (void)leftNavItemAction:(id)sender;

- (void)rightNavItemAction:(id)sender;

@end
